import ReactDOM from 'react-dom';
import App from '@/App';
import '@/assets/styles/index.scss';
import { Provider } from 'react-redux';
import store from '@/store';
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';
import relativeTime from 'dayjs/plugin/relativeTime';
dayjs.locale('zh-cn');
dayjs.extend(relativeTime);
// 渲染组件
ReactDOM.render(
  <Provider store={store}>
    <App />
  </Provider>,
  document.getElementById('root')
);
